package com.dz.goods.domain.entity;

import com.dz.common.core.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name="tb_spec")
@Data
@Entity
public class Spec extends BaseEntity implements Serializable {

    @Id
    @Column(name = "id")
    private Long id;

    @Column(name = "name")
    private String name;

    @Column(name = "options")
    private String options;

    @Column(name = "seq")
    private Integer seq;

    @Column(name = "template_id")
    private Long templateId;

}